<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="" method="post">
{#        增加csrftoken 解决报错#}
        <input type="hidden" name="csrf_token()" value="{{ csrf_token() }}">
            账号：<input type="text" name="username"><br>
            密码：<input type="password" name="password"><br>
        <input type="submit" value="注册">
{#        {% for one in userform %}#}
{#            <p>{{ one.label }}:{{ one }}</p>#}
{#        {% endfor %}#}
    </form>
</body>
</html>